<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
  import init from '@/service/initialize'
  import http from './service/myHttp.js'
  import urls from './service/url.js'
  // import $ from 'jquery'
  export default {
    name: 'app',
    metaInfo: {
      title: '3dgametest',
      meta: [{
        name: 'keyWords',
        content: ''
      }, {
        name: 'description',
        content: ''
      }]
    },
    mounted() {
      // console.log('前端作者是饶东俊')
      // console.info('vue对象',this)
    },
    beforeMount() {
      // 挂载前设好
      init(this.$store)
      window.addEventListener('resize', () => {
        //窗口调整大小
        init(this.$store)
      })
    }
  }
</script>

<style lang="less">
  @import 'css/iconfont.css';
  @import 'css/style-index.css';
  @import './css/vue2-animate.css'; //过渡动画样式
  #app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* background-color: #fff; */
    /* margin-top: 60px; */
  }
</style>
